<template>
  <div style="width:100%;height:100%;">
    <component ref="current"
               :is="currentView"
               v-bind="data"
               :lydata="data"
               :pkId="data.pkId"
               :destroy="destroy"></component>
  </div>
</template>

<script>
    export default {
        name: "dynamic-view",
        props:["currentView","data","destroy"]
    }
</script>

<style scoped>

</style>
